package com.hsjk.szwj.module.train.controller.app.vo.question;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import com.hsjk.szwj.module.train.dal.dataobject.question.QuestionAnswerItemDO;
import lombok.Data;

import java.util.List;

/**
 * @author chenjiawei
 * @desc
 * @Date 2023/11/04 01:06
 **/
@Data
public class AppMemberCourseErrorQuestionRespVO {
    private Long id;
    /**
     * 题目类型;1.单选题 2.多选题 3.判断题
     */
    private Integer questionType;
    /**
     * 题目标题
     */
    private String questionTitle;
    /**
     * 题目图片
     */
    private String questionPic;
    /**
     * 题目选项
     */
    @TableField(typeHandler = FastjsonTypeHandler.class)
    private List<Integer> questionOptionIndex;
    /**
     * 题目答案
     */
    @TableField(typeHandler = FastjsonTypeHandler.class)
    private List<QuestionAnswerItemDO> questionAnswer;
    /**
     * 题目备注
     */
    private String remark;
    /**
     * 题目状态;1.上架 2.下架
     */
    private Integer questionStatus;
    /**
     * 车型;1.小车C1/C2/C3 2.摩托车D/E/F 3.货车/A2/B2 4.客车A1/A3/B1 5.轻型牵引挂车C6
     */
    private Integer carType;
    /**
     * 科目;1.科目一 4.科目四
     */
    private Integer subject;
    /**
     * 章节编号
     */
    private Long chapterId;
    /**
     * 官方解释
     */
    private String officialGuide;
}
